home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
DEPOSITO
/
REmovido
/
Esportes
/
SqrlGolf.swf
/
scripts
/
DefineButton2_277
/
BUTTONCONDACTION on(release).as
< prev
Wrap
Text File
|
2006-06-13
|
614b
|
29 lines
on(release){
stopDrag();
gotoAndStop(1);
_Y = "345";
if(_droptarget eq "/Tee_MC" and getProperty("/SQR_Hit", _currentframe) == "1")
{
_visible = "0";
setProperty("/SQR_Hit", _X, "238");
setProperty("/SQR_Hit", _Y, "335");
tellTarget("/DriverMC")
{
gotoAndPlay(2);
}
tellTarget("/SwingMeasureMC")
{
gotoAndPlay(4);
}
tellTarget("/SwingMeterMC")
{
gotoAndStop("swing_start");
play();
}
tellTarget("/SpaceBOMC")
{
gotoAndStop(1);
}
}
}